package com.bjb.vr.auth.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @description: 加载自定义配置文件
 * @author: HuJingBo
 * @time: 2022/2/21 09:27
 */
@Data
@Component
@PropertySource(value = "file:config/version.properties",ignoreResourceNotFound = true)
@ConfigurationProperties(prefix = "build.version")
public class VersionProperties {

    private String git;
    private String jenkins;
    private String project;
}
